package com.jingdun.sport.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jingdun.sport.bean.model.Room;
import com.jingdun.sport.bean.model.SportRecord;
import org.apache.ibatis.annotations.Param;

import java.util.Map;
import java.util.List;

public interface SportRecordMapper extends BaseMapper<SportRecord> {
    List<SportRecord> getListTop10(@Param("sportTypeId") Long sportTypeId);

    public List<SportRecord> getSportRecordList(@Param("params") Map<String, Object> m);

    public SportRecord userNewSportProjectBy(@Param("sportProject") Long sportProject, @Param("userId") String userId);
}
